#include "pch.h"
#include "include/protostatistics.h"

static ProtoStatistics* instance;
//-------------------------------------------------------------------------------------
ProtoStatistics::ProtoStatistics()
{
	
}

ProtoStatistics::~ProtoStatistics()
{
	
}

/*static */ProtoStatistics* ProtoStatistics::Instance()
{
	if (!instance)
	{
		instance = new ProtoStatistics();
	}
	return instance;
}

/*static */void ProtoStatistics::Destory()
{
	if (instance)
	{
		SAFE_RELEASE(instance);
	}
}

void ProtoStatistics::Reset()
{

}

void ProtoStatistics::SetEnable(bool flag)
{

}

void ProtoStatistics::AddProtoRecvBytes(UINT32 proto, UINT32 bytes, UINT64 ProcessTime)
{

}

void ProtoStatistics::AddProtoSendBytes(UINT32 proto, UINT32 bytes, UINT64 ProcessTime)
{

}

UINT64 ProtoStatistics::GetProtoRecvBytes(UINT32 proto)
{
	return 0;
}

UINT64 ProtoStatistics::GetProtoSendBytes(UINT32 proto)
{
	return 0;
}

ProtoDetail* ProtoStatistics::GetProtoDetail(UINT32 proto)
{
	return NULL;
}

std::string ProtoStatistics::DebugInfo()
{
	return "";
}

std::string ProtoStatistics::HtmlInfo()
{
	return "";
}


